/**
 * @(#)ISmsChoiceService.java 2016年11月12日
 * Copyright(C) 2016 ZHEXIN IT CO.,LTD. All rights reserved.
 */
package org.jsbd.boss.service;

import org.jsbd.boss.domian.DMClientInfo;
import org.jsbd.boss.domian.TaskVo;
import org.jsbd.boss.domian.channel.ApkLoginTypeConfig;
import org.jsbd.boss.domian.channel.ChannelApkConfig;
import org.jsbd.boss.enums.TaskStatusEnum;

/**
 * task随机登录
 * 
 * @author <a href="mailto:xupengcheng@zhexinit.com" >徐鹏程</a>
 * @version 1.0.0
 */
public interface IClientLoginService {

	/**
	 * 
	 * randomSendSms:随机选择发送的短信
	 * 
	 * @author <a href="mailto:xupengcheng@zhexinit.com" >徐鹏程</a>
	 * @param clientInfo
	 * @return
	 * @throws Exception
	 */
	public TaskStatusEnum sendSms(TaskVo taskVo, ApkLoginTypeConfig loginConfig) throws Exception;

	/**
	 * 
	 * getLoginCode:获取短信内容
	 * 
	 * @author <a href="mailto:xupengcheng@zhexinit.com" >徐鹏程</a>
	 * @param apkConfig
	 * @param clientInfo
	 * @return
	 * @throws Exception
	 */
	public String getLoginCode(ChannelApkConfig apkConfig, DMClientInfo clientInfo) throws Exception;
}
